EncryptArc(var Input,var Output,var Password,var
Algorithm) |
|
This function encrypts an archive to a
(.tze) file. This function has four arguments. The first is the input
file, the file that you want to encrypt. The second is what
the output file should be called. The third one is what password you
want to use and the last one is what algorithm you want to use.
|
|
|
Algorithms: |
|
|
0 = Blowfish (128-bit) |
|
|
1 = DES (56-bit) |
|
|
2 = TripleDES (168-bit) |
|
|
3 = Rijndael (128-bit) |
|
|
4 = Rijndael (192-bit) |
|
|
5 = Rijndael (256-bit) |
|
|
Example: |
|
function
main()
{
EncryptArc("C:\\Test.exe","C:\\Test.tze","MyPassword",5);
}
|
|
|